﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.stack_analysis_detail>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	堆场分析报告填写
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% 
        analysis_reporting_list reporting = (analysis_reporting_list)ViewData["reporting"];
        GabageFactory.Models.Stack stack = (GabageFactory.Models.Stack)ViewData["stack"];
        stack_analysis_detail detail = (stack_analysis_detail)ViewData["detail"];
        User analyzer = (User)ViewData["analyzer"];
        User auditor = (User)ViewData["auditor"];
    %>

    <h2 class="view_title" style="width:756px;"><%=stack.Name%><%=reporting.date.Year%>年<%=reporting.date.Month%>月监控报告</h2>
    <div class="view_sub_title" style="width:756px;">
        <span>填写时间：<%=reporting.finishedTime.Value.Year%>-<%=reporting.finishedTime.Value.Month%>-<%=reporting.finishedTime.Value.Day%></span>
        <span>分析人员：<%= analyzer == null ? "" : analyzer.RealName%></span>
        <span>审核人员：<%= auditor == null ? "" : auditor.RealName%></span>
    </div>
    
    
    
    <table cellpadding="3" cellspacing="0" class="com_from_table3" style="width:756px;">
        <tr>
            <td colspan="4"><strong class="space">【情况判断】</strong></td>
        </tr>
        <tr>
            <th style="width:100px;">监测项</th>
            <th style="width:50px;">正常</th>
            <th style="width:50px;">异常</th>
            <th>补充说明</th>
        </tr>
        <tr>
            <td>水位及水质</td>
            <td style="text-align:center;"><input disabled="disabled" id="waterNormal" type="radio" name="water" value="0" <%if (Model.water == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="waterInnormal" type="radio" name="water" value="1" <%if (Model.water == 1) { %>checked="checked" <%} %> /></td>
            <td><%=Model.water_desc%></td>
        </tr>
        <tr>
            <td>进浆及回水</td>
            <td style="text-align:center;"><input disabled="disabled" id="backWaterNormal" type="radio" name="backwater" value="0" <%if (Model.backwater == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="backWaterInnormal" type="radio" name="backwater" value="1" <%if (Model.backwater == 1) { %>checked="checked" <%} %> /></td>
            <td><%=Model.backwater_desc%></td>
        </tr>
        <tr>
            <td>沉降及位移观测</td>
            <td style="text-align:center;"><input disabled="disabled" id="settleNormal" type="radio" name="settle" value="0" <%if (Model.settle == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="settleInnormal" type="radio" name="settle" value="1" <%if (Model.settle == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.settle_desc%></td>
        </tr>
        <tr>
            <td>磷石膏堆积坝</td>
            <td style="text-align:center;"><input disabled="disabled" id="ardealiteNormal" type="radio" name="ardealite" value="0" <%if (Model.ardealite == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="ardealiteInnormal" type="radio" name="ardealite" value="1" <%if (Model.ardealite == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.ardealite_desc%></td>
        </tr>
        <tr>
            <td>截洪沟</td>
            <td style="text-align:center;"><input disabled="disabled" id="ditchNormal" type="radio" name="ditch" value="0" <%if (Model.ditch == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="ditchInnormal" type="radio" name="ditch" value="1" <%if (Model.ditch == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.ditch_desc%> </td>
        </tr>
        <tr>
            <td>浸润线观测</td>
            <td style="text-align:center;"><input disabled="disabled" id="wellNormal" type="radio" name="piezometerwell" value="0" <%if (Model.piezometerwell == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="wellInnormal" type="radio" name="piezometerwell" value="1" <%if (Model.piezometerwell == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.piezometerwell_desc%></td>
        </tr>
        <tr>
            <td>渗压观测</td>
            <td style="text-align:center;"><input disabled="disabled" id="baseNormal" type="radio" name="piezometerbase" value="0" <%if (Model.piezometerbase == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="baseInnormal" type="radio" name="piezometerbase" value="1" <%if (Model.piezometerbase == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.piezometerbase_desc%></td>
        </tr>
        <tr>
            <td>导渗系统</td>
            <td style="text-align:center;"><input disabled="disabled" id="drainNormal" type="radio" name="drain" value="0" <%if (Model.drain == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="drainInnormal" type="radio" name="drain" value="1" <%if (Model.drain == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.drain_desc%></td>
        </tr>
    </table>

    

    <table cellpadding="2" cellspacing="0" class="com_from_table3" style="width:756px;">
        <tr>
            <td><strong class="space">【总结报告】</strong></td>
        </tr>
        <tr>
            <td style="padding:8px 16px;"><%= Model.summary%></td>
        </tr>
    </table>

    <table cellpadding="2" cellspacing="0" class="com_from_table3" style="width:756px;">
        <tr>
            <td><strong class="space">【建议】</strong></td>
        </tr>
        <tr>
            <td style="padding:8px 16px;"><%= Model.suggestion%></td>
        </tr>
    </table>

    <div style="width:756px; text-align:center;margin-top:40px">
        <%if (!string.IsNullOrEmpty(Model.doc)) { %><a class="download_btn" title="下载报告" href="<%=Url.Content(Model.doc) %>">下载报告</a><%} %>
    </div>
</asp:Content>
